package cn.xd.itstack.springframework.context;

import java.util.EventListener;

/**
 * @Classname ApplicationListener
 * @Description
 * @Date 2022/5/28 下午3:14
 * @Created by lvxiaodong
 */
public interface ApplicationListener <E extends ApplicationEvent> extends EventListener {

    /**
     * 定义时间监听处理
     * @param event
     */
    void onApplicationEvent(E event);

}
